<?php
interface IDb {
	public function execute($sql);
	public function query($sql);
	public function escape_string($val);
	public function connect($config=array(),$linkNum=0, $read=true);
	public function startTrans();
	public function commit();
	public function rollback();
	public function close();
	public function error();
	public function getFields($tableName);
	public function getTables($dbName='');
	public function replace($data,$options=array());
	public function insertAll($datas,$options=array());
}
?>